<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<html>
<head>
    <title>修改信息</title>
    <jsp:include page="head.jsp"></jsp:include>
</head>

<body>

<div class="x-body">
    <form class="layui-form" id="f_auto" action="${pageContext.request.contextPath}/updateBuilding" method="post">
        <input type="hidden" value="${sessionScope.b.d_id}" name="d_id" id="d_id"/>

              <div class="layui-form-item">
                    <label for="d_dormbuilding" class="layui-form-label">
                        <span class="">宿舍楼</span>
                    </label>
                    <div class="layui-input-inline">
                        <select id="d_dormbuilding" name="d_dormbuilding" lay-verify="required">
                            <option value="${sessionScope.b.d_dormbuilding}">${sessionScope.b.d_dormbuilding}</option>
                            <option value="23号楼">23号楼</option>
                            <option value="24号楼">24号楼</option>
                            <option value="25号楼">25号楼</option>
                            <option value="26号楼">26号楼</option>
                            <option value="27号楼">27号楼</option>
                        </select>
                    </div>
                </div>--%>

        <div class="layui-form-item">
            <label for="c_classname" class="layui-form-label">
                <span class="">宿舍楼</span>
            </label>
            <div class="layui-input-inline">
                <input type="text" id="c_classname" name="c_classname"
                       autocomplete="off" value="${sessionScope.b.d_dormbuilding}" class="layui-input">
            </div>
        </div>

        <div class="layui-form-item">
            <label for="a_name" class="layui-form-label">
                <span class="">管理员</span>
            </label>
            <div class="layui-input-inline">
                <select id="a_name" name="a_name" lay-verify="required">
                    <option value="${sessionScope.b.a_name}">${sessionScope.b.a_name}</option>
                    <c:forEach items="${adminList}" var="c">
                        <option value="${c.a_name}">${c.a_name}</option>
                    </c:forEach>
                    <%--<option value="焦颖">焦颖</option>
                    <option value="周荀凯">周荀凯</option>
                    <option value="张杰">张杰</option>
                    <option value="张伟">张伟</option>
                    <option value="王皓">王皓</option>
                    <option value="杨雯雯">杨雯雯</option>
                    <option value="王凡">王凡</option>
                    <option value="张娜">张娜</option>
                    <option value="蒋子华">蒋子华</option>
                    <option value="薛磊">薛磊</option>
                    <option value="kkk">kkk</option>--%>
                </select>
            </div>
        </div>

        <div class="layui-form-item" id="btn_xg">
            <button class="layui-btn" id="btn_on" lay-submit="" lay-filter="updateClass">
                修改
            </button>
        </div>
    </form>
</div>

<script>
</script>
</body>
</html>

